﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.WebApi
{
    public class SysParams
    {
        public string Module { get; internal set; }
        public string Scenario { get; internal set; }

        public string Action { get; internal set; }

        public string App { get; internal set; }

        public string Version { get; internal set; }

        public string Token { get; internal set; }

        public Enctype DataType { get; internal set; }

        public string Language { get; internal set; }
    }

    public enum Enctype
    {
        /// <summary>
        /// multipart/form-data
        /// </summary>
        Multipart_Form_Data,
        /// <summary>
        /// application/x-www-form-urlencoded
        /// </summary>
        Application_Form,
        /// <summary>
        /// application/json
        /// </summary>
        Application_Json
    }
}
